package cn.factorybox.item.service;

import java.util.Map;
import java.util.concurrent.CompletableFuture;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-03-25 17:37
 */
public interface DeviceDataAppService {

    CompletableFuture<Map<String,Object>> getAppData(String fSerialNumber) throws Exception;

    CompletableFuture<Map<String,Object>> getDayHistory(String fSerialNumber) throws Exception;

    CompletableFuture<Map<String,Object>> getWeekHistory(String fSerialNumber) throws Exception;

//    public void executeAsyncTask(int i) throws InterruptedException;
}
